<template>
	<div>
		<div class="publicpageview" id="publicpageview">
			<div style="text-align: center;font-weight: bold;margin-top: 20px;">住宅分类表（三）</div>
			<div style="display: flex;box-sizing: border-box;margin-top: 20px;">
				<div class="list14">
					<div class="list8">地级分类</div>
					<div class="list8">结构分类</div>
				</div>
				<div class="list14">一级地段</div>
				<div class="list14">二级地段</div>
				<div class="list14">三级地段</div>
				<div class="list14">四级地段</div>
				<div class="list14">五级地段</div>
				<div class="list14">合计</div>
				<div class="list14">
					<div class="list8">建造年代</div>
					<div class="list8">结构分类</div>
				</div>
				<div class="list14">1930-1939年</div>
				<div class="list14">1940-1949年</div>
				<div class="list14">1950-1959年</div>
				<div class="list14">1960-1969年</div>
				<div class="list14">1970-1979年</div>
				<div class="list14">1980-1989年</div>
				<div class="list14">1990-1999年</div>
				<div class="list14">1999年以后</div>
				<div class="list14">合计</div>
			</div>
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">旧式平房</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12" style="display: flex;">
					<div class="list9">旧式平房</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
			
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">普通平房</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				
				<div class="list12" style="display: flex;">
					<div class="list9">普通平房</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
			
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">日式平房</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12" style="display: flex;">
					<div class="list9">日式平房</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
			
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">西式平房</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12" style="display: flex;">
					<div class="list9">简易平房</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
			
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">简易平房</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12" style="display: flex;">
					<div class="list9">西式平房</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
			
			<div style="display: flex;box-sizing: border-box;">
				<div class="list9">合计</div>
				<div class="list10">
					<div class="list11">所   数</div>
					<div class="list11">自然间数</div>
					<div class="list11">建筑面积</div>
					<div class="list11">使用面积</div>
					<div class="list11">计租面积</div>
					<div class="list11">租金定额</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12" style="display: flex;">
					<div class="list9">合计</div>
					<div class="list10">
						<div class="list11">所   数</div>
						<div class="list11">自然间数</div>
						<div class="list11">建筑面积</div>
						<div class="list11">使用面积</div>
						<div class="list11">计租面积</div>
						<div class="list11">租金定额</div>
					</div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
				<div class="list12">
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
					<div class="list13"></div>
				</div>
			</div>
		</div>

		<button style="margin: 10px auto 0;display: block;" @click="handleout">打印住宅分类表（三）</button>
		
	</div>
</template>

<script>
	import * as XLSX from 'xlsx'
	import dayjs from 'dayjs'
	import {
		houseAdminList,
		addRoom,
		roomDetails,
		updRoom,
		blockList,
		blockDetail
	} from '@/api/industry'
	export default {
		props: {
			blockobj: Object
		},
		name: 'zujintiaozhengguocheng',
		data() {
			return {
				printLoading: true,
				printObj: {
					id: "publicpageview",
					popTitle: '打印预览',
					extraCss: "https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css",
					beforeOpenCallback(vue) {
						console.log('打开之前')
					},
					openCallback(vue) {
						console.log('执行了打印')
					},
					closeCallback(vue) {
						console.log('关闭了打印工具')
					}
				},
				list: [],
				topContet: {},
				hejiObject: {
					roomFlagNum: 0,
					buildingArea: 0,
					gyRentArea: 0,
					gyOldRentPrice: 0,
					gyElevatorNum: 0,
					fieldName6: 0,
					fieldName6: 0,
					fieldName6: 0,
					xzRentArea: 0,
					xzOldRentPrice: 0,
					xzElevatorNum: 0,
					jrRentArea: 0,
					jrOldRentPrice: 0,
					jrElevatorNum: 0,
					allRentArea: 0,
					allOldRentPrice: 0,
					allElevatorNum: 0
				},
			}
		},
		computed: {},
		mounted() {
			console.log(this.blockobj)
			this.list = this.blockobj.notHouse3
			// this.topContet = this.blockobj.exportTou
			if (this.list) {
				this.list.forEach((item, index) => {
					this.hejiObject.roomFlagNum = Number(this.hejiObject.roomFlagNum) + Number(item.roomFlagNum)
					this.hejiObject.buildingArea = Number(this.hejiObject.buildingArea) + Number(item.buildingArea)
					this.hejiObject.gyRentArea = Number(this.hejiObject.gyRentArea) + Number(item.gyRentArea)
					this.hejiObject.gyOldRentPrice = Number(this.hejiObject.gyOldRentPrice) + Number(item.gyOldRentPrice)
					// this.hejiObject.fieldName6 = Number(this.hejiObject.fieldName6) + Number(item.fieldName6)
					// this.hejiObject.fieldName6 = Number(this.hejiObject.fieldName6) + Number(item.fieldName6)
					// this.hejiObject.fieldName6 = Number(this.hejiObject.fieldName6) + Number(item.fieldName6)
					this.hejiObject.xzRentArea = Number(this.hejiObject.xzRentArea) + Number(item.xzRentArea)
					this.hejiObject.xzOldRentPrice = Number(this.hejiObject.xzOldRentPrice) + Number(item.xzOldRentPrice)
					this.hejiObject.xzElevatorNum = Number(this.hejiObject.xzElevatorNum) + Number(item.xzElevatorNum)
					this.hejiObject.jrRentArea = Number(this.hejiObject.jrRentArea) + Number(item.jrRentArea)
					this.hejiObject.jrOldRentPrice = Number(this.hejiObject.jrOldRentPrice) + Number(item.jrOldRentPrice)
					this.hejiObject.jrElevatorNum = Number(this.hejiObject.jrElevatorNum) + Number(item.jrElevatorNum)
					this.hejiObject.allRentArea = Number(this.hejiObject.allRentArea) + Number(item.allRentArea)
					this.hejiObject.allOldRentPrice = Number(this.hejiObject.allOldRentPrice) + Number(item.allOldRentPrice)
					this.hejiObject.allElevatorNum = Number(this.hejiObject.allElevatorNum) + Number(item.allElevatorNum)
				})
			}
		},

		methods: {
			handleout() {
				this.$confirm('此操作将导出该条内容，请确认是否继续操作？', '导出提示', {
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					type: 'warning'
				})
				.then(() => {
					let list = this.list
					let outList = []
					this.list.forEach((item, index) => {
						outList.push({
							所号: item.blockNo,
							自然间数: item.roomFlagNum,
							建筑面积: item.buildingArea,
							工业计租面积: item.gyRentArea,
							工业调租前租金定额: item.gyOldRentPrice,
							工业调租后租金定额: item.gyElevatorNum,
							// 商业计租面积: item.fieldName6,
							// 商业调租前租金定额: item.fieldName6,
							// 商业调租后租金定额: item.fieldName6,
							行政事业计租面积: item.xzRentArea,
							行政事业调租前租金定额: item.xzOldRentPrice,
							行政事业调租后租金定额: item.xzElevatorNum,
							金融业计租面积: item.jrRentArea,
							金融业调租前租金定额: item.jrOldRentPrice,
							金融业调租后租金定额: item.jrElevatorNum,
							合计计租面积: item.allRentArea,
							合计调租前租金定额: item.allOldRentPrice,
							合计调租后租金定额: item.allElevatorNum,
						})
					})
					outList.push({
						所号: '合计',
						自然间数: this.hejiObject.roomFlagNum,
						建筑面积: this.hejiObject.buildingArea,
						工业计租面积: this.hejiObject.gyRentArea,
						工业调租前租金定额: this.hejiObject.gyOldRentPrice,
						工业调租后租金定额: this.hejiObject.gyElevatorNum,
						// 商业计租面积: this.hejiObject.fieldName6,
						// 商业调租前租金定额: this.hejiObject.fieldName6,
						// 商业调租后租金定额: this.hejiObject.fieldName6,
						行政事业计租面积: this.hejiObject.xzRentArea,
						行政事业调租前租金定额: this.hejiObject.xzOldRentPrice,
						行政事业调租后租金定额: this.hejiObject.xzElevatorNum,
						金融业计租面积: this.hejiObject.jrRentArea,
						金融业调租前租金定额: this.hejiObject.jrOldRentPrice,
						金融业调租后租金定额: this.hejiObject.jrElevatorNum,
						合计计租面积: this.hejiObject.allRentArea,
						合计调租前租金定额: this.hejiObject.allOldRentPrice,
						合计调租后租金定额: this.hejiObject.allElevatorNum,
					})
					// 获取表格数据
					const data = outList
					// 转换数据为工作表
					const worksheet = XLSX.utils.json_to_sheet(data)
					// 创建新的工作簿
					const workbook = XLSX.utils.book_new()
					// 将工作表添加到工作簿
					XLSX.utils.book_append_sheet(workbook, worksheet, 'Sheet1')
					// 导出Excel文件
					XLSX.writeFile(workbook, '非住宅房屋情况调查表(一).xlsx')
				})
				.catch(() => {
					this.$message({
						type: 'info',
						message: '已取消导出'
					})
				})
			}
		},
	}
</script>

<style scoped>
	.publicpageview {
		width: 1420px;
		height: auto;
		background-color: #fff;
		margin: 20px auto 0;
		overflow: hidden;
		box-sizing: border-box;
		padding: 20px;
		outline: 1px solid black;
	}

	.list1 {
		width: 100px;
		box-sizing: border-box;
		height: 30px;
		line-height: 30px;
		text-align: center;
		outline: 1px solid black;
	}

	.list2 {
		width: 240px;
		height: 60px;
		line-height: 30px;
		outline: 1px solid black;
		text-align: center;
		font-size: 12px;
	}

	.left {
		width: 25px;
		height: 360px;
		outline: 1px solid black;
		line-height: 180px;
		text-align: center;
		box-sizing: border-box;
	}

	.list3 {
		width: 60px;
		height: 20px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
		font-size: 12px
	}

	.list4 {
		font-size: 12px;
		width: 160px;
		height: 60px;
		line-height: 60px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list8{
		font-size: 12px;
		width: 80px;
		height: 20px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list14{
		font-size: 12px;
		width: 80px;
		height: 40px;
		line-height: 40px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}

	.list7 {
		font-size: 12px;
		width: 160px;
		height: 20px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}


	.list6 {
		width: 240px;
		height: 30px;
		line-height: 30px;
		outline: 1px solid black;
		text-align: center;
		font-size: 12px;
	}
	.list5 {
		font-size: 12px;
		width: 60px;
		height: 30px;
		line-height: 30px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list9{
		font-size: 12px;
		width: 20px;
		height: 120px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
		writing-mode: vertical-rl;
	}
	.list10{
		font-size: 12px;
		width: 60px;
		height: 120px;
		line-height: 120px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list11{
		font-size: 12px;
		width: 60px;
		height: 20px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list12{
		font-size: 12px;
		width: 80px;
		height: 120px;
		line-height: 120px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
	.list13{
		font-size: 12px;
		width: 80px;
		height: 20px;
		line-height: 20px;
		outline: 1px solid black;
		text-align: center;
		box-sizing: border-box;
	}
</style>